package com.user.profile.request;

import java.util.List;
import lombok.Data;

/**
 * @Author linlx
 * @Date 2021/9/13 15:27
 * @Description
 **/
@Data
public class SaveLabelRequest {

  private String labelName;

  // 同时有用户属性和用户行为才有值
  private Integer parentOperate;

  private UserData userAttributesData;

  private UserData userBehaviorData;

  @Data
  public static class UserData {

    // dataList之间的关系
    private Integer operate;

    private List<UserInfo> dataList;

  }

  @Data
  public static class UserInfo {

    private String key;

    private Integer operate;

    private String value;

    private String target;

    private Integer countOperate;

    private Integer count;

    private List<UserInfo> dataList;
    // dataList有值，才有这个
    private Integer sonOperate;

  }


}
